// cover some element-ui styles

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block;
  }
}

// to fix el-date-picker css style
.el-range-separator {
  box-sizing: content-box;
}

/* reset element-ui css */
.el-form-item__error {
  color: #fff;
}

#nprogress .bar {
  background: rgb(145, 233, 2) !important;
  height: 6px !important;
}

.el-message-box__header,
.el-dialog__header {
  background-image: linear-gradient(
      306deg,
      rgba(94, 94, 94, 0.04) 0%,
      rgba(94, 94, 94, 0.04) 48%,
      rgba(220, 220, 220, 0.04) 48%,
      rgba(220, 220, 220, 0.04) 100%
    ),
    linear-gradient(
      268deg,
      rgba(232, 232, 232, 0.04) 0%,
      rgba(232, 232, 232, 0.04) 9%,
      rgba(135, 135, 135, 0.04) 9%,
      rgba(135, 135, 135, 0.04) 100%
    ),
    linear-gradient(
      24deg,
      rgba(26, 26, 26, 0.04) 0%,
      rgba(26, 26, 26, 0.04) 47%,
      rgba(147, 147, 147, 0.04) 47%,
      rgba(147, 147, 147, 0.04) 100%
    ),
    linear-gradient(
      206deg,
      rgba(235, 235, 235, 0.04) 0%,
      rgba(235, 235, 235, 0.04) 68%,
      rgba(140, 140, 140, 0.04) 68%,
      rgba(140, 140, 140, 0.04) 100%
    ),
    linear-gradient(90deg, rgb(244, 71, 207), rgb(243, 198, 242));
}

.el-button--primary {
  background-image: linear-gradient(
      306deg,
      rgba(94, 94, 94, 0.04) 0%,
      rgba(94, 94, 94, 0.04) 48%,
      rgba(220, 220, 220, 0.04) 48%,
      rgba(220, 220, 220, 0.04) 100%
    ),
    linear-gradient(
      268deg,
      rgba(232, 232, 232, 0.04) 0%,
      rgba(232, 232, 232, 0.04) 9%,
      rgba(135, 135, 135, 0.04) 9%,
      rgba(135, 135, 135, 0.04) 100%
    ),
    linear-gradient(
      24deg,
      rgba(26, 26, 26, 0.04) 0%,
      rgba(26, 26, 26, 0.04) 47%,
      rgba(147, 147, 147, 0.04) 47%,
      rgba(147, 147, 147, 0.04) 100%
    ),
    linear-gradient(
      206deg,
      rgba(235, 235, 235, 0.04) 0%,
      rgba(235, 235, 235, 0.04) 68%,
      rgba(140, 140, 140, 0.04) 68%,
      rgba(140, 140, 140, 0.04) 100%
    ),
    linear-gradient(90deg, rgb(244, 71, 207), rgb(243, 198, 242));

  border: pink;
}
